<?php
namespace Core\MVC;

class NoRouteException extends \Exception {
	
	private $path;
	private $method;
	
	public function __construct($path, $method) {
		$this->path = $path;
		$this->method = $method;
		
		parent::__construct("No route for path: " . $path . " [" . $method . "]" , 0, null);
	}
	
	public function getPath() {
		return $this->path;
	}
	
	public function getMethod() {
		return $this->method;
	}
}